package com.cloud.pole.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.cloud.pole.common.constant.ApiConstant;
import com.cloud.pole.common.msg.ApiRestResponse;


@FeignClient(value = ApiConstant.TOOL_SERVICE_ID)
public interface IExpressService {
	
  @RequestMapping(value=ApiConstant.TOOL_SERVICE_EXPRESS_KDI, method = RequestMethod.GET)
  public ApiRestResponse<String> kdi(
  		@RequestParam(name="no", defaultValue = "") String no,
  		@RequestParam(name="type", defaultValue = "") String type);
 
}
